projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fd320d
)
Fix minor mem leaks.
author
robertl
<robertl>
Thu, 11 Dec 2003 17:08:50 +0000
(17:08 +0000)
committer
robertl
<robertl>
Thu, 11 Dec 2003 17:08:50 +0000
(17:08 +0000)
psitrex.c
patch
|
blob
|
history
diff --git
a/psitrex.c
b/psitrex.c
index 88939a105e1f3916a257b5af0bc8d603b0ebd019..090570d10e7149b0fd8a0a1e424ad8f9da4f2c79 100755
(executable)
--- a/
psitrex.c
+++ b/
psitrex.c
@@
-503,6
+503,7
@@
psit_routehdr_w(FILE *psit_file, const route_head *rte)
fprintf(psit_file, "Route: %s\n",
rname);
+ xfree(rname);
}
}
@@
-658,6
+659,7
@@
psit_trackhdr_w(FILE *psit_file, const route_head *trk)
fprintf (psit_file, "Track: %s\n",
tname);
+ xfree(tname);
}
}
psit_track_state = 1;